package com.cats.template.sys.pojo.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Set;

/**
 * @author duxiaobo
 * @date 2021/9/102:21 下午
 */
@Data
@Accessors(chain = true)
public class UserDto extends BaseDto<UserDto>{
    private String userName;
    private String realName;
    private String idNumber;
    private String gender;
    @JsonIgnore
    private String password;
    @JsonIgnore
    private String salt;
    private Boolean isLock;
    private String avatar;
    private String phone;
    private String openId;
    private Set<RoleDto> roles;
}
